using System.Reflection;
using System.Resources;

namespace Framework.Module.MultiLanguage
{
	public class Initialize
	{
        private static ResourceManager resourceManager = new ResourceManager("Framework.Module.MultiLanguage.Data.Lang", Assembly.GetExecutingAssembly());

		public static string GetString(string name)
		{
			string retVal = string.Empty;
			try
			{
				retVal = resourceManager.GetString(name);
			}
			catch
			{
				retVal = "'" + name + "'";
			}
			return retVal;
		}
	}
}
